
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="format-detection" content="telephone=no">
    #parse("/h5/common/webWords.html")
<link rel=stylesheet type=text/css href="http://${staticHost}/css/component.css">
<script type="text/javascript" src="http://${staticHost}/js/jquery2.js"></script>
<script type=text/javascript src="http://${staticHost}/js/modernizr.custom.js"></script>
<script type=text/javascript src="http://${staticHost}/js/jquery.dlmenu.js"></script>
<link rel="stylesheet" type="text/css" href="http://${staticHost}/css/medioadaption.css">
<link rel="stylesheet" type="text/css" href="http://${staticHost}/css/stcss.css">
<script src="http://${staticHost}/js/TouchSlide.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="http://${staticHost}/js/continuingEducation.js"></script>
<script type="text/javascript">
        $(document).ready(function () {

        	function add0(m){return m<10?'0'+m:m };
            function getDate(tm){
                //shijianchuo是整数，否则要parseInt转换
                var time = new Date(tm);
                var y = time.getFullYear();
                var m = time.getMonth()+1;
                var d = time.getDate();
                var h = time.getHours();
                var mm = time.getMinutes();
                var s = time.getSeconds();
                return y+'-'+add0(m)+'-'+add0(d);
            }
        	
            $(".moreNews").click(function () {
                var _this = $(this);
                var sign = _this.attr('sign');
                var num = _this.attr('num');
                num = num*1 + 1;
                $.ajax({
                    type:'post',
                    url:'${requestHost}/public/moreNews',
                    contentType:'application/x-www-form-urlencoded; charset=utf-8',
                    data:{
                    	parentId:2,
                        sign:sign,
                        num:num
                    },
                    success: function (result) {
                        var newsList = result.result;
                        var newsJson = eval("("+newsList+")");
                        $.each(newsJson, function (i, val) {
                        	$("#ksqlUl").append("<li><dl><dt><a href=/public/viewNews?source=mxdxIndex&articleId="+val.id+"&parentName="+val.name+">"+val.title+"</a></dt><dd>"+getDate(val.updateDate)+"</dd></dl></li>");
                            _this.attr('num', num);
                        });
                    }
                });
            });
        });
    </script>
	<style type="text/css">
	        .scroll_box_more a:hover {
	            background-color: #eeeeee;
	            color:#666666;
	        }
	        .zs_news2 li{
	            background:url('');
	        }
	        .kecheng li dl dt{
	            background:url('');
	        }
            .editMood{
                color: #333;
            }
	</style>
</head>
<body>
<div class="dlny clear">
   <dl>
      <dt><a href="/edu/auth/toEditHeadprotrait"><img src="${headPortrait}"></a></dt>
      <dd>
         <!-- <span><a href="/edu/auth/toEditStudentInfo">[修改]</a></span> -->
          [${studentName}] <a href="/edu/auth/toEditStudentInfo" class="editMood">${mood}</a>
      </dd>
   </dl>
</div>

<div class="main">  
  <div class="weizhi">当前位置：<a href="javascript:void(0)">辅导动态</a></div>
  <div class="newbox">
	<div class="zs_news2">
		<ul id="ksqlUl">
		    #foreach($ksql in $list)
				#if(!$ksql.title)#else<li><dl><dt><a href="/public/viewNews?source=mxdxIndex&articleId=$ksql.id&parentName=$ksql.name">#if($ksql.title.length()>20)$ksql.title.substring(0,20)...#else$ksql.title#end</a></dt><dd>$ksql.updateDate</dd></dl></li>#end
            #end
		</ul>
	</div>
	<div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="考试群落" num="1">点击查看更多</a></div>
  </div>
</div>

<div class="holderdiv"></div>
<div class="fixdiv">
  <ul>               
    <li><a href="javascript:void(0)" onclick="window.history.go(-1)"><img src="http://${staticHost}/images/foticon001.jpg"><span>返回</span></a></li>
    <li><a href="/edu/auth/modifyPwd"><img src="http://${staticHost}/images/foticon004.jpg"><span>重置密码</span></a></li>
	<li><a href="javascript:void(0)" onclick="loginOut()"><img src="http://${staticHost}/images/foticon003.jpg"><span>退出系统</span></a></li>
  </ul>
</div>
</body>
</html>